package com.i2works.smartluolong.web.entity.user;

import com.i2works.smartluolong.utils.entity.BaseCommDO;

/**
 * 会员资源实体类
 *
 * @author koal koal@vip.qq.com
 * @ClassName: userResDO
 * @Description: TODO
 * @date 2015年11月3日 下午11:15:20
 */

public class UserResDO extends BaseCommDO {

    private Integer id;

    private Integer pid;// 父ID

    private String resName;// 资源名称

    private String resCode;// 资源代码

    private String resKey;// 资源键值

    private Integer resType;// 资源类型（0根目录，1无连接菜单，2带连接菜单，3按钮）

    private Integer status;// 状态

    private Integer sort;// 排序

    private String description;// 描述

    //新加
    private String ids;    //某用户全部资源ID
    private String names;//某用户的全部资源名称
    private String parentName;//父类名称


    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public String getNames() {
        return names;
    }

    public void setNames(String names) {
        this.names = names;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getResName() {
        return resName;
    }

    public void setResName(String resName) {
        this.resName = resName;
    }

    public String getResCode() {
        return resCode;
    }

    public void setResCode(String resCode) {
        this.resCode = resCode;
    }

    public String getResKey() {
        return resKey;
    }

    public void setResKey(String resKey) {
        this.resKey = resKey;
    }

    public Integer getResType() {
        return resType;
    }

    public void setResType(Integer resType) {
        this.resType = resType;
    }


    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "UserResDO{" +
                "id=" + id +
                ", pid=" + pid +
                ", resName='" + resName + '\'' +
                ", resCode='" + resCode + '\'' +
                ", resKey='" + resKey + '\'' +
                ", resType=" + resType +
                ", status=" + status +
                ", sort=" + sort +
                ", description='" + description + '\'' +
                ", ids='" + ids + '\'' +
                ", names='" + names + '\'' +
                ", parentName='" + parentName + '\'' +
                '}';
    }

}